package com.finance.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: Apollo
 * @Date: 2021/4/10
 * @Description: 逾期规则
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "rules_overdue")
public class RulesOverdue implements Serializable {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 预警间隔时间
     */
    private Integer warningInterval;

    /**
     * 预警间隔时间单位
     */
    private Integer warningIntervalUnit;

    /**
     * 逾期利率
     */
    private Integer overdueInterestRate;

    /**
     * 贷款产品标识
     */
    private String loanProductCode;





    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_WARNING_INTERVAL = "warning_interval";

    public static final String COL_WARNING_INTERVAL_UNIT = "warning_interval_unit";

    public static final String COL_OVERDUE_INTEREST_RATE = "overdue_interest_rate";

    public static final String COL_LOAN_PRODUCT_CODE = "loan_product_code";

}